<template>
  <h2>About计数：{{counter}}</h2>
  <button v-on:click="increment">+1</button>
  <button v-on:click="decrement">-1</button>
</template>

<script>
import useCounter from '../hooks/useCounter.js'

import useTitle from '../hooks/useTitle'
export default {
  name: "Home",
  setup(props, context) {
    useTitle('关于')
    return {
      ...useCounter()
    }
  }
}
</script>

<style scoped>

</style>